$(document).ready(function(){
	var validator = $("#frmlogin").validate({
		errorElement:'div',
		rules: {
			unm: {
				required: true,
				email: true
			},
			pw: {
				required: true
			}
			
		},
		messages: {
			unm: {
				required: "Please Enter User Name",
				email: "Please enter proper email adderss"
			},
			pw: {
				required: "Please Enter Password"
			}
		}
	});
	
});

$(document).ready(function(){
	var validator = $("#frmloginhome").validate({
		errorElement:'div',
		rules: {
			username: {
				required: true,
				email: true
			},
			password: {
				required: true
			}
			
		},
		messages: {
			username: {
				required: "Please Enter User Name",
				email: "Please enter proper email adderss"
			},
			password: {
				required: "Please Enter Password"
			}
		}
	});
	
});